Bomb kills 22 in Afghanistan: govt