Two programs cannot run independently on the Arduino as it is not a multi-tasking environment. You can have two things appear to happen at once by making them happen very soon after one another and/or you can do things like monitoring the output of two (or more) sensors sequentially and get the same effect.
What two programs did you have in mind to use at the same time ?