At least 21 people were killed, and another 33 injured, Taliban officials say.