12 gallon really isn't big enough for them to live healthily.. chances are they'd survive as goldfishes are very very hardy, but they'd not reach the length of life they should.. Have you though about keeping a differant species that doesnt require as much space? white clouds or zebra danios (both being sub tropical) for example?