H I content at cosmic noon: a millimetre-wavelength perspective