#Joseph came to them

"Joseph came to the cupbearer and the baker"

#Behold, they were sad

The word "behold" here shows that Joseph was surprised by what he saw. AT: "He was surprised to see that they were sad." (See: [[:en:ta:vol1:translate:figs_explicit]])

#Pharaoh's officials who were with him

This refers to the cupbearer and the baker.

#in custody in his master's house

"In prison in him master's house." "His master" refers to Joseph's master, the captain of the guard.

#Do not interpretations belong to God?

Joseph uses a question for emphasis. This can be written as a statement. AT: "Interpretations belong to God." or "It is God who can tell the meaning of dreams." (UDB) (See: [[:en:ta:vol1:translate:figs_rquestion]])

#Tell me, please

Joseph asks for them to tell him their dreams. AT: "Tell me the dreams, please" (See: [[:en:ta:vol2:translate:figs_ellipsis]])