You can just take out one earbud at a time to connect them separately.
Note: make sure earbuds are at a good distance when connecting to second device.