Movement of gas bubbles in a liquid layer in the presence of diffusion and chemical reactions