The code tags are done with the # button just above the smileys ...
but how do i display the pH values on LCD?
There is an example here - LiquidCrystal - Arduino Reference - it is not difficult to merge with your sketch.
You might need one of the other functions of the LCD lib - LiquidCrystal - Arduino Reference -