Tanfield Railway's two Victorian steam locomotives have a new future ahead of them following being handed over to the railway by the Beamish Museum.