The serial number, 6 groups of 4 characters each (letters and numbers), with groups separated by hyphens, will be in your CD/DVD case or on the back of the handbook, depending on which version of Trainz you are installing. Type this in, copying it EXACTLY ie. with hyphens and with upper case/capital letters as shown.
Ray