Canadian Pacific Kansas City railway plans to start rolling out hydrogen-powered locomotives after its first successful test.