Pakistan and India , who have fought three wars , have been engaged in formal peace talks since January .