Those capacitors are for noise suppression. The machine will run without them, but expect interference on wireless devices. I don't know how much power-line noise interferes with modern high-frequency communications like Wi-Fi, but it will affect lower frequencies like radio and television.
A electronics shop should be able to source a capacitor for you. Try to get a poly-film capacitor as they don't have any polarity like electrolytic caps.