I'm so sorry for your loss.
Support your wife. Do things without her asking (make meals, clean). Importantly, make sure she knows that you're experiencing grief as well, and that she isn't alone. Miscarriage is unfortunately more common than people realize. Please be gentle and kind with yourselves. It's OK to feel a rollercoaster of emotions.
One thing I did for the first few years after my losses was recognize them by lighting a candle for the wave of light: https://babyloss-awareness.org/wave-of-light/