Indian army security forces have killed two terrorists during an encounter in the Kulgam district of Jammu and Kashmir.