To stay productive while working on a train, set up a mobile workspace with a laptop, charger, and noise-canceling headphones. Take advantage of onboard Wi-Fi, and plan your tasks to make the most of your travel time.