The deputy mayor says London will struggle to build thousands of homes without two rail projects.