I would like to use the R package "gstat" for predicting and mapping the distribution of water quality parameters using tow methods (using kriging and co-kriging)
So you want the code for Kriging using gstat. A simple Google search shows plenty of tutorials. You just need to apply the principles showed on these tutorials to your data.
I would advise you to start with Kriging and then move to co-Kriging.