Is the subsemigroup or subgroup membership problem for $BS(1,2)$ decidable ?
That is, given elements $g,g_1,g_2,\dots,g_n$ from $BS(1,2)$, is there a decision procedure to check whether $g$ belongs to the semigroup/subgroup generated by $\{g_1,g_2,\dots,g_n\}$?
Note that the decidability of the semigroup membership implies the decidability of subgroup memebership problem and the undecidability of the subgroup membership problem implies the undecidability of the semigroup membership problem.
There are two questions here, the "group" question and the "semigroup" question. The answer is "yes" to the group question and "I don't know" to the semigroup question.
The group question is often referred to as the generalised word problem (and archaically as the occurrence problem). A group is metabelian if its derived subgroup is abelian. The group $BS(1, 2)$ (and more generally $BS(1, n)$) is a metabelian group. Romanovskii proved that the generalised word problem is soluble for metabelian groups (the reference is: Romanovskii, N.S. Some algorithmic problems for solvable groups. Algebra i Logika, (1974) 13(1):26–34.). Hence, the answer to the "group" question is "yes".
For the semigroup question, I don't know the answer. In particular, you cannot just use "metabelian" as we did for the group question. This is because the free metabelian group of rank two has undecidable subsemigroup membership problem (the reference is: Lohrey, M. & Steinberg, B. Tilings and Submonoids of Metabelian Groups. Theory Comput. Syst. (2011) 48: 411-427. doi).