Covariant canonical formalism for the group manifold