The two were killed in an encounter with militants who crossed over from the LoC. Army sources say that nine militants, all foreigners, were gunned down.