Hi,
What is your goal in doing that ?
If your goal is to make sure that the user entered a correct email address by having him enter the email address twice, then you don't need custom fields.
You just have to activate the "Display email confirmation field" setting under the Checkout tab of the HikaShop configuration and the guest form will automatically have two email fields instead of one.
If your goal is something else, then I'm not sure what you're trying to do so I would need more information to be able to answer.