Both flights and trains are available. T98 will run from Kowloon to Beijing West, and the travel time is about 24 hours. As far as i know, the tickets are released to public 60 days in advance. You'd better find an agency to check the ticket availability first.