Are they grown up already, or smaller? If they are still young and small, they'll probably do fine in a 10 gallon for a couple of months. If they're full-grown, a 10 gallon is probably too small for them, especially if there's more than one male, since they tend to be quite territiorial.