keypad pad button press to display word instead of a letter

in keypad press i need to display a word like " IT " , " CSN " instead of X or Y
when i tried

String  keysUR[ROWSUR][COLSUR] = 
{
  
  {"XX","YS"},
  {'Z','R'}
};

how can i make it ,

#include <Keypad.h>

// 49,48,47,46,45,44,,43,42,41,40,

const byte ROWS = 5; // use 4X4 keypad for both instances
const byte COLS = 2;
char keys[ROWS][COLS] = 
{
  {'1','6'},
  {'2','7'},
  {'3','8'},
  {'4','9'},
  {'5','0'},
};
byte rowPins[ROWS] = {48,47,46,45,44}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {40,41}; //connect to the column pinouts of the keypad
Keypad kpd( makeKeymap(keys), rowPins, colPins, ROWS, COLS );


const byte ROWSR = 3;
const byte COLSR = 2;
char keysR[ROWSR][COLSR] = 
{
  {'A','D'},
  {'B','E'},
  {'C','F'},
 
};
byte rowPinsR[ROWSR] = {48,47,46}; //connect to the row pinouts of the keypad
byte colPinsR[COLSR] = {42,43}; //connect to the column pinouts of the keypad
Keypad kpdR( makeKeymap(keysR), rowPinsR, colPinsR, ROWSR, COLSR );


const byte ROWSUR = 2;
const byte COLSUR = 2;
char  keysUR[ROWSUR][COLSUR] = 
{
  
  {'X','Y'},
  {'Z','R'}
};
// Digitran keypad, bit numbers of PCF8574 i/o port
byte rowPinsUR[ROWSUR] = {45,44}; //connect to the row pinouts of the keypad
byte colPinsUR[COLSUR] = {42,43}; //connect to the column pinouts of the keypad

Keypad kpdUR( makeKeymap(keysUR), rowPinsUR, colPinsUR, ROWSUR, COLSUR );


void setup(){
//  Wire.begin( );
  kpdUR.begin( makeKeymap(keysUR) );
  kpdR.begin( makeKeymap(keysR) );
  kpd.begin( makeKeymap(keys) );
  Serial.begin(9600);
  Serial.println( "start" );
}

//byte alternate = false;
char key, keyR, keyUR;
void loop()

{
//int x ;
//  alternate = !alternate;
 // for ( x=0 ; x<8 ; x++)
  key = kpd.getKey( );
  keyUR = kpdUR.getKey( );
  keyR = kpdR.getKey( );


/*
int i;


if (kpd.getKeys(), kpdUR.getKey( ) )
  {
    for (int i=0; i<5; i++)   // Scan the whole key list.
    {
      Serial.println(key);
    }
    
    */
    

   if (key){
   Serial.println(key);
  }
  if( keyR ) {
    Serial.println( keyR );
  }
  if( keyUR ) {
    Serial.println( keyUR );
  }
   
}

Would it not be easier to split the problem?
Create a text table with index [0] corresponding to text belonging to key '0' upt to index[15] corresponding to key 'F'
then
First determine the key pressed
Subtract decimal 48 and convert it to an unsigned int.
And just print the textarray [int calculated]

i could not get you sir.
are you trying to say convert from ASCII to decimal ?
in the above code i can able to display any single letters when i press once.
i want to display a word instead of a letter.

for example in the above code i want to display " IT " instead of "X"
how can i implement that ?

You will NOT get a word when you press a button using that library, period.

What you can do is to look at the button press and map each button press to a word and display the word.

if (kpd.getKeys(), kpdUR.getKey( ) )
  {
    for (int i=0; i<5; i++)   // Scan the whole key list.
    {
      Serial.println(key);
    }
    
    */
    

   if (key){
   Serial.println(key); //<- replace with look up function, such as if (key=='0') Serial.print("First word");
  }
  if( keyR ) {
    Serial.println( keyR );
  }
  if( keyUR ) {
    Serial.println( keyUR );
  }
   
}

I commented on your code with example how to do the word. The first line of this code block is obscure. What are you trying to do?

im tring to build a touch screen interface system.
like student can enter their ID number through this number pad. ( like " EN42952734 " )
my number pad is 5*4

1 , 6, A , D
2 , 7 , B , E
3 , 8 , C , F
4 , 9 , UP ,DEL
5 , 10 , DN ,ENT.

ok there r keys like up UP , DN , ENTER.
i used to assembly them English letters
i dont need to use UP , DN , ENTER .... but how can i have delete function here ?

Now you are asking a different question.

The first question was how to print a word on entry of a single digit. You need to put the words in an array with a single dimension rataher than a 2 dimensional one, like this

char * words[] = {
  "Hello", "World", "wibble", "wobble"};

void setup() 
{
  Serial.begin(115200);
  
  for (int key = 0; key < 4; key++)
  {
    Serial.println(words[key]);
  }
}
void loop() 
{
}

I don’t have a keypad but you should be able to see that if the key variable is derived from the keypress then you can print the corresponding word.

As has been mentioned, what is this line of code trying to do ?

if (kpd.getKeys(), kpdUR.getKey( ) )

As to your new question, I am not clear what you want to do or what you are asking. Can you please explain in a different way ?