An improvised explosive device went off in Baghdad’s Tayaran Square, killing two people and injuring 12, Iraqi security sources said late on Friday.