To use more green electricity, more renewable energy sources are employed in the distribution power systems. The combination of wind power with the hydrogen electrolyzer unit is one of effective ways to utilize renewable energy by converting electricity to hydrogen. In addition, more natural gas-fired units increase the couplings between the power systems and the natural gas systems. Therefore, it is necessary to conduct coordinated scheduling for integrated power and natural gas systems in consideration of hydrogen electrolyzer units that are used to produce hydrogen from wind power. The revenue from hydrogen production is established as a function of a part of wind power. To consider the distribution topology, the spanning tree constraints are used to ensure the radiality of the distribution system. The DistFlow model and the piecewise linear method are used to deal with the nonlinear models of the distribution system and the natural gas system. Furthermore, the carbon emission is included in the optimization objective to guarantee an optimal carbon emission with an optimal operational point. The entire problem is established as mixed integer linear programming model. Tests on a revised IEEE 33-bus system associated with a 20-node natural gas system show that the coordinated scheduling on integrated power and natural gas systems with hydrogen production from wind power can achieve an optimal operational cost.