At least 20 people have been killed in two attacks in Baghdad .