how do I connect 2 7-segment displays vertically and controlled by arduino?

I would get a piece of proto-board such as this one from sparkfun:

You can then use some fine wire to connect your circuit.