UN urges India, Pakistan to exercise restraint