I think that to compile the program for the iPad, you need Delphi Prism, which creates a .NET application that can be run on Mono, the .NET platform platform.
Or, if you want to write your own code, I think you will need a Mac Book to compile the last step and publish it on the iPad. I think that in Delphi XE2 there is no compiler that runs on Windows and creates an executable file for the iPad. The compiler for iOS (the FreePascal compiler that ships with Delphi 2) must run on a Mac.
source share