Here's a breakdown:
* Hey: This stays the same in French.
* It is: "C'est" means "it is" or "that is" in French.
* the pig: "Le cochon" is the masculine singular form of "pig."
You could also say "Salut, c'est le cochon!" which is a bit more informal.