Lobsters have olfactory sensory neurons, located in the aesthetasc sensilla on their antennules, which allow them to detect the pheromones in the urine of other lobsters.
A dominant male lobster will pee to signal his dominance and deter other males from his territory. Females may also pee to signal their readiness for mating, and the urine of a dominant male can attract females.
Lobsters also communicate through touch and by using their claws, but no one really gives a fuck after reading about the pee thing.