Trains are some of the only means for people to escape Ukraine as bus routes are closed because of the fighting.