Galaxy clustering from modified gravity hydrodynamical simulations