उभय = उभ् + अयट् / मयट्
up steady ground + here connect basket

comment
उभय is process of connecting उभ - up-steady pegged staff towards sea side and भू - the steady ground on shore side. BOTH are to be connected. thus the process itself ended up being used to mean “both”