The two other officers were killed in a gun attack when two men on a motorbike opened fire .