At least 22 people in Afghanistan were killed and farmland was damaged when flash floods hit a plain near the capital, officials said on Sunday.