Cucumbers have male and female blooms and for the fruit to it has to be cross pollinated which is usually done by bees.
But you can hand pollinate them with a Q tip or fine paintbrush .Pick up the pollen off the male anthers and rub it against the stamen on the female .Once they start to fruit you can then pick of the male blooms .