Pseudo-orthogonal groups and integrable dynamical systems in two dimensions