Hello bet...
You can keep both, just make sure you have a larger tank. One with a shorter height, long and a little narrow. A standard 55 or 60 G is about right. Plecos can get large. Heavily plant the bottom in the front with Anubias attached to lava rock and driftwood for the eggs to be layed and leave the back open. These guys love a lot of area with no plants so they can forage for leftover food. Heavily plant the surface too. These fish prefer shade. If you want the eggs around long enough for them to hatch, takes 3 days after they're layed, then don't have any other fish species in the tank. Eggs are very nutritious and a favorite for any fish with a mouth large enough.
Keep the water clear of dissolved wastes with large, weekly water changes and feed a varied diet of flaked, freeze dried and frozen foods and you'll have your little Plecos and Corys.
B