Where to start?
First of all you should never house two bettas in such a small tank together, especially not a male and a female. You are extremely lucky they have not killed each other yet... and believe me just because it seems to be going well does not mean they won't turn on each other.
Secondly it really doesn't sound like you have done the proper research and have the necessary items to breed so I would separate the fish right now before anyone gets hurt. It takes an average of $200-300 in start up costs to do one spawn the right way with proper food, heating, housing. A spawn can not be raised in a 2 gallon tank, not even a 10 gallon tank really.
Thirdly.. it's Betta, not beta.