The scheme will be delivered in phases, starting with upgrades to lines between Leeds, York, Bradford and Sheffield.