Maximum threshold is about 3 mA, so the two 47k resistors on the 220V input would provide about 2.3 mA average and 3.3 mA peak. It will probably work, but 39k might be more reliable. They will see about 600 mW each at 300 VAC, so 1 watt are OK and 2 watt even better, but make sure they are rated at least 200V.
The capacitor on the DC+ and DC- will only see the LED voltage, so anything more than about 10V will be OK. The capacitor should tend to hold enough current through the LED to maintain the output on through zero crossings. A capacitor from MAINS_PRES to GND will help filter noise as well as ride through zero crossings. About 100 nF should be good with 10k pull-up, giving a TC of 1 ms.
 Answering a comment below, the input current will be approximately 220/R, so your two 47k resistors would provide about 2.3 mA, with peak current about 3.3 mA. Two 39k resistors result in 220/78 = 2.8 mA and peak current 3.99 mA. You may need to do some actual testing to see what works best for your needs. If you want to minimize power, higher values will give a pulse of a few mSec every half-cycle, so you could use software to detect a missing pulse.