Q. Why is there ice on pipes going to the compressor unit outside & ice on the pipes going to AC coil attached to furnace or air handler inside.
You may have a dirty air filter or you are low on Freon. Turn the cooling off at the thermostat and turn the fan mode at thermostat to ON. Let it run for several hours or until the ice is melted and replace the filter if needed. Turn thermostat back to cool and monitor situation.