If you purchased Trainz from the Trainz store, you can contact the helpdesk and request a Steam key of the game so you add the official Steam version to your library. This is what I've done for TRS19 and TRS22 in the past so unlessed things have changed since TRS22 release just contact the helpdesk.
Cheers