Peacock gudgeons like to spawn in the tiniest of spaces. Make sure you have some 'caves' that look too tight for both of them to fit into. I used sections of 3/4 inch diameter plastic pipe.
The male will look after the eggs once they are laid. He will suck them every so often - it looks as though he's eating them but he isn't. When the eggs are ready to hatch, he will suck up the fry and spit them out of the cave.
But be warned, any other fish in the tank will eat the eggs when the male comes out to eat, and if any survive to hatch, the fry won't last long.
The male will look after the eggs once they are laid. He will suck them every so often - it looks as though he's eating them but he isn't. When the eggs are ready to hatch, he will suck up the fry and spit them out of the cave.
But be warned, any other fish in the tank will eat the eggs when the male comes out to eat, and if any survive to hatch, the fry won't last long.