Actually, Cherry Barbs are not a naturally schooling/shoaling fish, they do not shoal in the wild. They are best kept as a true pair, or trio, one male two females. Two males together, especially in a small tank like that may fight.
The thing is, most small fish suitable for a tank that size are shoaling fish, so by adding Cherry Barbs, you are reducing your options for anything else for the tank.