2 soldiers killed in clash with terrorists