The 272-kilometre railway will run from the capital Kampala to Malaba at the border with Kenya.