Numerical simulations with single-step chemistry and detailed transport are used to study premixed hydrogen/air flames in two-dimensional channel-like domains with periodic boundary conditions along the horizontal boundaries as a function of the domain height. Both unity Lewis number, where only hydrodynamic instability appears, and subunity Lewis number, where the flame propagation is strongly affected by the combined effect of hydrodynamic and thermodiffusive instabilities are considered. The simulations aim at studying the initial linear growth of perturbations superimposed on the planar flame front as well as the long-term nonlinear evolution. The dispersion relation between the growth rate and the wavelength of the perturbation characterizing the linear regime is extracted from the simulations and compared with linear stability theory. The dynamics observed during the nonlinear evolution depend strongly on the domain size and on the Lewis number. As predicted by the theory, unity Lewis number flames are found to form a single cusp structure which propagates unchanged with constant speed. The long-term dynamics of the subunity Lewis number flames include steady cell propagation, lateral flame movement, oscillations and regular as well as chaotic cell splitting and merging.