Those bicycles are actually more or less free for anyone living in Catalunya to use (not for tourists though) and can be picked up and dropped off at many stations all over town.