Repairing a crossbow requires two or more damaged crossbows and an anvil. Players can also use a grindstone to do this, but enchantments will be removed. Anvils will not take enchantments off an item.