In the figure shown, the potential drop across each capacitor is (assume diodes to be ideal)
The diode connected parallel to the battery is reverse bias. So, current will not pass through it. So, total emf divided among and and in the inverse ratio of their capacitances.