how to add another pinMode(2,INPUT_PULLUP); then it send another set of message

#include <SoftwareSerial.h>
SoftwareSerial SIM900(10, 11);
String textForSMS;
int data = 0;
String f1001 = "09460165259";
String f1002 = "09452538752";
String f1003 = "09508859967";
String f1004 = "09667614195";
void setup() {

Serial.begin(9600);
SIM900.begin(9600);
Serial.println("hello!");
delay(1000); // wait for 5 seconds

}

void loop() {

Serial.println(data);
pinMode(2,INPUT_PULLUP);
while (digitalRead(2) == HIGH) {;}
{
textForSMS = "\nALERT! Water level starts to become higher, please stay at home and prepare for evacuation.";
//sendSMS(textForSMS);
sendsms(textForSMS, f1001);
Serial.println(textForSMS);
Serial.println("message sent.");
delay(1000);

sendsms("ALERT! Water level starts to become higher, please stay at home and prepare for evacuation.", f1002); //
Serial.println(textForSMS);
Serial.println("message sent.");
delay(1000);

sendsms("ALERT! Water level starts to become higher, please stay at home and prepare for evacuation.", f1003);
Serial.println(textForSMS);
Serial.println("message sent.");
delay(1000);

sendsms("ALERT! Water level starts to become higher, please stay at home and prepare for evacuation.", f1004);
Serial.println(textForSMS);
Serial.println("message sent.");
delay(1000);
}
}

void sendsms(String message, String number)
{
String mnumber = "AT + CMGS = ""+number+""";
SIM900.print("AT+CMGF=1\r");
delay(1000);
SIM900.println(mnumber);

delay(1000);
SIM900.println(message);
delay(1000);
SIM900.println((char)26);
delay(1000);
SIM900.println();
delay(100);
// SIM900power();
}

void SIM900power()
{
{
textForSMS = "\nwayayaya";
//sendSMS(textForSMS);
sendsms(textForSMS, f1001);
Serial.println(textForSMS);
Serial.println("message sent.");
delay(1000);

sendsms("wayayaya!", f1002); //
Serial.println(textForSMS);
Serial.println("message sent.");
delay(1000);

sendsms("wayayaya", f1003); // you can also write any message that you want to send.
Serial.println(textForSMS);
Serial.println("message sent.");
delay(1000);
}
}

void sen(String message, String number)
{
String mnumber = "AT + CMGS = ""+number+""";
SIM900.print("AT+CMGF=1\r");
delay(1000);
SIM900.println(number);

delay(1000);
SIM900.println(message);
delay(1000);
SIM900.println((char)26);
delay(1000);
SIM900.println();
delay(100);
// SIM900power();
}

You forgot to use Tools->Auto Format and Edit->Copy for Forum.
Your problem is that this loop will prevent your sketch from doing anything, including looking at other inputs, until Pin 2 goes low:

  while (digitalRead(2) == HIGH)
  {
    ;
  }

Change it to

  if (digitalRead(2) == LOW) 
{
  // Do the stuff you want to do when the button is pushed

NOTE: Your sketch has a LOT of delay time. Once Pin 2 goes LOW it will be a while before your sketch can act on any other input. You might want to turn on an LED to let the user know that the Arduino is busy and can't process any button presses.

Start by reading "How to use this forum". Then edit your post and place your code between code tags (button in upper left looks like </>).

It is not a good idea to use the String (capital S) class on an Arduino as it can cause memory corruption in the small memory on an Arduino. This can happen after the program has been running perfectly for some time. Just use cstrings - char arrays terminated with '\0' (NULL).

The functions delay() and delayMicroseconds() block the Arduino until they complete.
Have a look at how millis() is used to manage timing without blocking in Several Things at a Time.

And see Using millis() for timing. A beginners guide if you need more explanation.

...R

String f1001 = "094601652xx";
String f1002 = "09452538xx2";
String f1003 = "09508859xx7";
String f1004 = "09667614xx5";

Probably not a good idea to publish phone numbers in public.
Nor to use Strings if you can avoid them.