The influence of the environment in chemical reactivity: the HCOOH formation from the H2O + CO reaction