Large molecular gas reservoirs in ancestors of Milky Way-mass galaxies nine billion years ago