At least 22 people have been killing in bomb explosions in busy coffee shops and at other targets across Iraq, police and medics say.