Invariance principle and hydrodynamic limits on Riemannian manifolds