A growing focus on train travel comes exactly as railways become increasingly modernized by adopting connected technologies.