If you connected the red wire to he battery positive, and the black to the battery negative, then you connected the unit correctly.
What exactly popped, if the twin unit is just two cigarette sockets, there is nothing to go pop ( or shouldnt be). If it has a USB outlet, then the unit may have been connected in reverse internally.
The power outlet outer sleeve is the negative side, the centre connector is positive.
The best place to connect is straight to the batteRy, other wise you could be connecting to a line with a lower rated fuse.