I think a 60 cube would be ideal, although you could definately go smaller.
While the seahorses would like the height of a column. I think pipefish would pefer the larger horizontal demension of a cube.
Personal preference really as you could keep them in any decent size tank....