同--together, 乐--to be happy; happiness, 同乐--to be happy together.
同乐 is a courtesy of reply when someone congratulates on you.
同乐同乐--Saying it twice is to emphasize the feeling.
It's usually used on festival when a host says to a guest.
例如:
A: 新年快乐!
B: 同乐同乐!
The other use of ”同乐“ is ”与民同乐“, a longer story, but it's not relative here. If you want to know, message me please!