Anything under 55 gallons is tooo small for either of those fish. Don't put the peacock in with shrimp. It will eat them in no time. Both of those are better suited in a species only tank and should be kept with a bunch of similar african species. Too small of a group and they will tear eachother apart.
Can't help with the sexing.