Let $M,N,K$ be three monoids (or even groups, if you like) and let $N \to K$ be an injective homomorphism. Then, the induced morphism $M \sqcup N \to M \sqcup K$ is also injective.
This is easy to prove using the normal form for the elements in the coproduct $M \sqcup N$ (these are products of elements of $|M| \setminus \{1\}$ or $|N| \setminus \{1\}$, alternating). Is there also a proof which merely relies on the universal property of a coproduct? I ask this just out of curiosity. Of course, not every category has the property that monomorphisms are stable under coproducts. So the proof will involve specific monoids and applies the universal property to homomorphisms into them, I guess.
Notice: Surjective homomorphisms of monoids are precisely the regular epimorphisms, and these are stable under coproducts, since colimits commute with colimits. Since limits do not commute with colimits, the question about monomorphisms is not formal.
Notice: The universal property implies that the coproduct inclusions $M \xrightarrow{i_M} M \sqcup N \xleftarrow{i_N} N$ are injective, in fact split monomorphisms.