Edit custom field using user_presave hook during account creation
Try this out:

/**
 * Implements hook_user_presave().
 */
function mymodule_user_presave(&amp;$edit, $account, $category) {
  $edit['field_custom_xyz'][LANGUAGE_NONE][0]['value'] = 0;
}