In addition to helping remove water, the sulfuric acid acts as a catalyst. It protonates the carbonyl oxygen increasing the electrophilicity of the carbonyl carbon. This makes the carbonyl carbon more succeptible to nucleophilic attack by the methanol.