Two terrorists have been killed in an encounter near Srinagar after police intercepted the vehicle they were travelling in, the Jammu and Kashmir Police have said.