The two police officials -- Radhelal and Amarnath -- were conducting regular security checking in Gandhi Nagar area under Sihani Gate police station when the two assailants attacked them, Senior Superintendent of Police Nitin Tiwari said.
Radhelal was injured after he was shot at, while Amarnath suffered knife injuries, he added.
The two accused fled away from the spot, leaving behind their motorcycle, Tiwari said.
The injured officials have been admitted to a private hospital here and their condition is said to be stable.