Multiscale modeling of chemotaxis in homogeneous porous media