Since you both are the sole owners Then you can claim equal amount of capital gain and deposit in both the names.
Yes Capital Gain will be calculated in your wife's name also
(Capital Gain is something which you are gain either in cash or in Discount profit ) Section 50C of Income Tax Act
It doesn't effect from where the insrallmeins we're paid it depends on how much you gain by selling it above Government prescribed Circle Rate.