Army foils infiltration bid, two terrorists killed