Two terrorists killed and a soldier martyred