Gas kinematics in M31