The incident has left seven people injured.
Mohammad Barat, police chief for Janikhel district where the incident happened, told Afghanistan's Pajhwok Afghan News the explosion took place in the morning.
“During a clash between Taliban and ALP personnel on Tuesday, two militants were killed and their motorcycles brought to the house of the injured ALP commander, Abdul Shakoor," Barattold the agency.