You can steam reform plastic and get hydrogen for that purpose. It will imply that you have to lose a percentage of your plastic input, but if it is just plastic waste then that is not a huge problem.
Was going to ask about that - I mean, hydrocarbon chains, by definition, contain hydrogen, so surely you should be able to use part of the input as hydrogen source (leaving concerns of practicality, efficiency and price aside).