Two terrorists were killed as security forces foiled an infiltration bid along the Line of Control (LoC) in the Gurez sector of Jammu and Kashmir's Bandipora district, the Army said on Thursday.