At least 20 people in Baghdad have been killed in a series of attacks in the Iraqi capital .