Two militants were on Thursday gunned down in an encounter with security forces near a check-post in Kupwara district of Jammu and Kashmir, police said. The gun battle took place after the militants opened fire on security personnel on patrol duty in Lolab Valley, police officials were quoted as saying by PTI.