Higgs boson production at the LHC: Transverse-momentum resummation and rapidity dependence