Security forces killed two terrorists during an encounter in Anantnag.