The usual proof is to show that for all loops $\alpha,\beta \colon [0,1] \to G$ of the topological group $G$, the concatenation $\alpha \cdot \beta$ is homotop to $t \mapsto \alpha(t)\beta(t)$ and to $t \mapsto \beta(t)\alpha(t)$. It requires to exhibit formulae.
Howerver, my favourite proof of this result is the following one, from Grothendieck (I think) : the fundamental group functor $\pi_1 \colon \mathsf{pcTop} \to \mathsf{Grp}$ from the category of path-connected topological spaces to the category of groups respects products (classical lemma), so sends group objects to group objects ; the group objects of $\mathsf{pcTop}$, which are the path-connected topological groups (by definition), are send to group objects of $\mathsf{Grp}$, which are the abelian groups (easy exercise).