Residents across Melbourne and parts of regional Victoria have been warned to stay inside as a moderate risk of thunderstorm asthma ripples through the state.