If you are talking about the Haar-measure on $G$, this is true.
For if there was a nonempty open set $\emptyset \neq U \subset G$ with $\mu(U) = 0$, we can assume (by translation) w.l.o.g. that $e \in U$ (the identity of $G$).
Then for every compact $K \subset G$, we could cover $K$ by finitely(!) many of the translates $xU$ for $x \in K$ (here, we use that $K$ is compact).
This implies $\mu(K) = 0$ for every(!) compact $K \subset G$.
By inner regularity of the Haar measure, i.e. by
$$
\mu(V) = \sup\{\mu(K) \mid K \subset V \text{ compact} \},
$$
we conclude $\mu(V) = 0$ for all open subsets $V \subset G$. By outer regularity, we get $\mu \equiv 0$, a contradiction.
This shows that every nonempty open set has positive measure.
By continuity of $f,g$ we know that
$$
U := \{ x \in G \mid f(x) \neq g(x) \}
$$
is open. Thus it is either empty (i.e. $f \equiv g$), or has positive measure (i.e. NOT $f=g$ a.e.).