Two militants killed in an encounter with security forces in Baramulla district of Jammu and Kashmir said Police.